package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * @title :ADRG.java
 * @description :ADRG
 * @author :fulianxia
 * @date :2015年4月2日
 * @version :1.0
 * @copyright :DHCC 2013-2014
 */
@Entity
@Table(name = "T_ADRG", schema = "DRGs")
public class ADRG extends KoalaLegacyEntity {

	private static final long serialVersionUID = 6165557133209999388L;

	/**
	 * 空构造函数
	 */
	public ADRG() {
		super();
	}

	/**
	 * @param adrgCode
	 * @param adrgDesc
	 * @param mdcCode
	 * @param verCode
	 */
	public ADRG(String adrgCode, String adrgDesc, String mdcCode, String verCode) {
		super();
		this.adrgCode = adrgCode;
		this.adrgDesc = adrgDesc;
		this.mdcCode = mdcCode;
		this.verCode = verCode;
	}

	// ADRG代码
	@Id
	@Column(name = "ADRG_CODE", nullable = false)
	private String adrgCode;

	// ADRG描述
	@Column(name = "ADRG_DESC")
	private String adrgDesc;

	// MDC代码
	@Column(name = "MDC_CODE")
	private String mdcCode;

	// 版本代码
	@Column(name = "VER_CODE", nullable = false)
	private String verCode;

	
	public String getAdrgCode() {
		return adrgCode;
	}

	public void setAdrgCode(String adrgCode) {
		this.adrgCode = adrgCode;
	}

	public String getAdrgDesc() {
		return adrgDesc;
	}

	public void setAdrgDesc(String adrgDesc) {
		this.adrgDesc = adrgDesc;
	}

	public String getMdcCode() {
		return mdcCode;
	}

	public void setMdcCode(String mdcCode) {
		this.mdcCode = mdcCode;
	}

	public String getVerCode() {
		return verCode;
	}

	public void setVerCode(String verCode) {
		this.verCode = verCode;
	}

	@Override
	public Serializable getId() {
		return null;
	}

	@Override
	public String[] businessKeys() {
		return null;
	}

}
